package com.goldcn.picture.dao;

import com.goldcn.picture.dto.PicLabelDto;
import com.goldcn.picture.dto.QueryPicInfoDto;
import com.goldcn.picture.dto.QueryResultPicInfoDto;
import com.goldcn.picture.model.PicLabel;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface PicLabelMapper {
    int deleteByPrimaryKey(Long labelid);

    int insert(PicLabel record);

    int insertSelective(PicLabel record);

    PicLabel selectByPrimaryKey(Long labelid);

    int updateByPrimaryKeySelective(PicLabel record);

    int updateByPrimaryKey(PicLabel record);

    int labelUseCount(Long labelid);

    List<PicLabelDto> getPicLableList(Long picId);

    List<PicLabelDto> getUserPicLableList(Long userId);

    List<Map<String,String>> queryPicInfoBylabelId(Long labelid);



}
